package com.scpii.universal.struts.produce;

import java.io.IOException;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest;

public class RequestParseWrapper extends JakartaMultiPartRequest {
	public void parse(HttpServletRequest servletRequest, String saveDir)
			throws IOException {
		if (servletRequest.getRequestURI().indexOf("/upload/uploadFile") == -1) {
			super.parse(servletRequest, saveDir);
		}
	}
}
